package com.rc.saas.tenant.common.sms;

import java.util.ArrayList;

/**
 * 短信模板
 */
public enum HuaweiSmsTemplateEnum {

    SMS_MINI_LOGIN("f4e2f19ba30a497596bebefe4f078d21", "小程序登录验证码");//短信数量警告

    private final String code;
    private final String msg;

    HuaweiSmsTemplateEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public static void main(String[] args) {
        ArrayList<String> objects = new ArrayList<>();
        objects.add("1746");
        String s = HwSendSmsUtil.sendSms("18529447738", HuaweiSmsTemplateEnum.SMS_MINI_LOGIN.getCode(), objects);

        System.out.println(s);
    }
}
